<?php
/**
 * 返回password类型的input
 * Enter description here ...
 * @author nijn
 *
 */
class PwdInput {

	public function createInput($form, $model, $attribute, $parameters) {
		$htmlOptions = isset($parameters[0]) ? $parameters[0] : array();
		return $form->passwordField($model, $attribute, $htmlOptions);
	}
}

?>